package com.yuq.sunrise.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ：yuq
 * @date ：Created in 2019/6/23 14:14
 * @description：后台入口
 * @modified By：
 * @version: 1.0$
 */
@Controller
public class IndexController {

    /**
     * create by: yuq
     * description: 跳转首页
     * create time: 2019-06-23 15:24
     *
     * @param model
     * @return
     */
    @RequestMapping(value = "index", method = RequestMethod.GET)
    public String index(Model model){
        return "index";
    }

}
